//
//  HMaskContentVIew.swift
//  Drop
//
//  Created by hushaohua on 2018/1/28.
//  Copyright © 2018年 init. All rights reserved.
//

import UIKit

class HMaskContentVIew: UIView {

    func dismiss() -> Void {
        HMaskWindowManager.sharedMaskForView(self)?.dismiss();
    }
  
    
    func showWithMask() -> Void {
        let mask = HMaskWindowManager.sharedMaskForView(self);
        mask?.present();
    }
    
    func sharedWindowManager() -> HMaskWindowManager?{
        return HMaskWindowManager.sharedMaskForView(self);
    }
    

}
